package question3;

public abstract class Food {
    private String name;
    private int weight;

    public Food() {
    }

    public Food(String name, int weight) {
        this.name = name;
        this.weight = weight;
    }
    public abstract void eat();
}
